﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace E.Y.E.Jobs_Temp
{
    public partial class EditMode : Form
    {
        public EditMode()
        {
            InitializeComponent();
        }

        //Try code

        private MainInput MainForm = null;
        public EditMode(Form callingForm)
        {
            MainForm = callingForm as MainInput; 
            InitializeComponent();
        }

        //Try code

        private void EditMode_Load(object sender, EventArgs e)
        {
            Rectangle workingArea = Screen.GetWorkingArea(this);
            this.Location = new Point(workingArea.Right - Size.Width,
                                      workingArea.Bottom - Size.Height); //- MainForm.Size.Height );
            this.FormBorderStyle = FormBorderStyle.None;
        }

        
    }
}
